import React from 'react'
import {Button} from 'antd-mobile'

// 404路由组件
export default class NotFound extends React.Component {
    render () {
        return (
            <div>
                <h2>抱歉,找不到该页面!404...</h2>
                <Button type={'primary'} onClick={() => this.props.history.replace('/')}>回到首页</Button>
            </div>
        )
    }
}
